# scripts/resources/WeaponUpgrade.gd
class_name WeaponUpgrade
extends Resource

## Identifier for the weapon this applies to (e.g., "knife", "fire_staff")
@export var weapon_id: String = ""
## e.g., "damage", "speed", "range", "special", "quantity"
@export var upgrade_type: String = ""
@export var value_change: float = 0.0
@export_multiline var description: String = ""
@export var rarity: int = 1
@export var icon: Texture2D = null
## If true, this grants the weapon itself instead of upgrading
@export var is_new_weapon: bool = false